print ">>>: "
words=gets
value=0
t_a=Thread.new{
	while words !="exit\n"
		print "Kate: "+words
		puts value
		print ">>>: "
		Thread.pass
		words=gets
	end
}
t_b=Thread.new{
	while true
		value+=1
		Thread.pass
	end
}
t_a.join
t_b.join

